function setupBstirValues() {bstirFadeTitles[0] = "Cosplay Dancer"; bstirFadeLinks[0] = "http://www.libertango-libertin.com/cosplay-dancer/"; bstirFadeSnippets[0] = "Tue, 22 Jun 2010 <br> I went to a festival a couple of years ago at a Japanese Garden. It was great! We got to see traditional dancers, mus..."; bstirFadeTitles[1] = "Tops Lace"; bstirFadeLinks[1] = "http://www.libertango-libertin.com/tops-lace/"; bstirFadeSnippets[1] = "Tue, 22 Jun 2010 <br> Knitting is done by looping those threads, into each other by stitching. Knitting may be hand made  or machine made. ..."; bstirFadeTitles[2] = "Soft Chiffon"; bstirFadeLinks[2] = "http://www.libertango-libertin.com/soft-chiffon/"; bstirFadeSnippets[2] = "Fri, 02 Jul 2010 <br> My husband is getting me a sewing machine for Christmas and I want to make a few simple things first. I want to make ..."; bstirFadeTitles[3] = "Dress Waltz"; bstirFadeLinks[3] = "http://www.libertango-libertin.com/dress-waltz/"; bstirFadeSnippets[3] = "Tue, 13 Jul 2010 <br> Warning: imagejpeg() [function.imagejpeg]: gd-jpeg: JPEG library reports unrecoverable error: in /home/magekee6/publi..."; bstirFadeTitles[4] = "Underwire Bra"; bstirFadeLinks[4] = "http://www.libertango-libertin.com/underwire-bra/"; bstirFadeSnippets[4] = "Tue, 15 Jun 2010 <br> On a couple of fairly new bras the underwire has broken out and sticks into me. I've tried sewing it back it but it s..."; }

	var bstir_FadeOut = 255;
	var bstir_FadeIn=0;
	var bstir_Fade = 0;
	var bstir_FadeStep = 3;
	var bstir_FadeWait = 10000;
	var bstir_bFadeOut = true;
	var bstir_iFadeInterval;

	var bstirFadeLinks;
	var bstirFadeTitles;
	var bstirFadeSnippets;
	var bstirFadeCursor = 0;
	var bstirFadeMax;
	var bstirTitleElement;
	var bstirSnippetElement;

	function startBstir() {
	  bstirTitleElement = document.getElementById("bstir_title");
	  bstirSnippetElement = document.getElementById("bstir_snippet");
	  bstir_iFadeInterval = setInterval(showBstirItem, 10);
	  bstirFadeLinks = new Array();
	  bstirFadeTitles = new Array();
	  bstirFadeSnippets = new Array();
	  setupBstirValues();
	  bstirFadeMax = bstirFadeLinks.length-1;
	  setBstirItem();
	}

	function setBstirItem() {
	  bstirTitleElement.innerHTML = bstirFadeTitles[bstirFadeCursor];
	  bstirTitleElement.href = bstirFadeLinks[bstirFadeCursor];
	  bstirSnippetElement.innerHTML = bstirFadeSnippets[bstirFadeCursor];
	}

	function showBstirItem() {
	  if (bstir_bFadeOut) {
		bstir_Fade+=bstir_FadeStep;
		if (bstir_Fade>bstir_FadeOut) {
			  bstirNext();
		}
	  } else {
		bstir_Fade-=bstir_FadeStep;
		if (bstir_Fade<bstir_FadeIn) {
		  clearInterval(bstir_iFadeInterval);
		  setTimeout(bstirResume, bstir_FadeWait);
		  bstir_bFadeOut=true;
		}
	  }
	  if ((bstir_Fade<bstir_FadeOut)&&(bstir_Fade>bstir_FadeIn)){
		bstirTitleElement.style.color = "#" + bstirToHex(bstir_Fade);
		bstirSnippetElement.style.color = "#" + bstirToHex(bstir_Fade);
	  }
	}

	function bstirResume() {
	  bstir_iFadeInterval = setInterval(showBstirItem, 10);
	}

	function bstirNext() {
			bstirFadeCursor++;
		if (bstirFadeCursor>bstirFadeMax)
		  bstirFadeCursor=0;
		setBstirItem();
			bstir_bFadeOut = false;
	}

	function bstirToHex(strValue) {
	  try {
		var result= (parseInt(strValue).toString(16));

		while (result.length !=2)
				result= ("0" +result);
		result = result + result + result;
		return result.toUpperCase();
	  }
	  catch(e){}
	}

	startBstir();

	